﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace BiffenModel
{
    [DataContract]
    public class Booking
    {        
        [DataMember]
        private int id;
        [DataMember]
        private DateTime date;
        
        public Booking()
        {
        }

        public Booking(int id, DateTime date)
        {
            this.id = id;
            this.date = date;
        }
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        [DataMember]
        public DateTime Date
        {
            get { return date; }
            set { date = value; }
        }
    }
}
